package com.pactera.madp.cp.api.dto.moment;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class WxMomentDto {
    private String momentId;

    private String creator;

    private Integer createType;

    private Integer visibleType;

    private textDto text;

    @NoArgsConstructor
    @Data
    public static class textDto{
        private String content;
    }

    private List<imageDto> image;

    @NoArgsConstructor
    @Data
    public static class imageDto {
        private String mediaId;
    }

    private videoDto video;

    @NoArgsConstructor
    @Data
    public static class videoDto {
        private String mediaId;
        private String thumbMediaId;
    }

    private linkDto link;

    @NoArgsConstructor
    @Data
    public static class linkDto {
        private String title;
        private String url;
    }

    private Long create_time;
}
